/****************************************************************************************/
/* Plots*********************************************************************************/	
/* Total Federal  Married         *******************************************************/	
/****************************************************************************************/	


label var white_feddiff11_1 "White Couples"
label var raceblk_feddiff11_1 "Black Couples"
label var raceoth_feddiff11_1 "Other Couples"	
twoway (line white_feddiff11_1 year if obs== 1, lcolor(gs10)) (line raceblk_feddiff11_1 year if obs==1, lcolor(black) ) (line raceoth_feddiff11_1 year if obs==1, lcolor(black) lpattern(longdash_dot)), ytitle("Penalty/Subsidy") xtitle("Year") graphregion(fcolor(white)) legend(size(small)) name(nm_fed_race1_est_marr, replace)
graph save "figures\nm_fed_race1_est_marr.gph", replace		
graph export "figures\nm_fed_race1_est_marr.pdf", replace


label var white_feddiff12_1 "White Couples"
label var raceblk_feddiff12_1 "Black Couples"
label var raceoth_feddiff12_1 "Other Couples"	
twoway (line white_feddiff12_1 year if obs== 1, lcolor(gs10)) (line raceblk_feddiff12_1 year if obs==1, lcolor(black) ) (line raceoth_feddiff12_1 year if obs==1, lcolor(black) lpattern(longdash_dot)), ytitle("Penalty/Subsidy") xtitle("Year") graphregion(fcolor(white)) legend(size(small)) name(nm_fed_race2_est_marr, replace)
graph save "figures\nm_fed_race2_est_marr.gph", replace		
graph export "figures\nm_fed_race2_est_marr.pdf", replace


label var white_feddiff13_1 "White Couples"
label var raceblk_feddiff13_1 "Black Couples"
label var raceoth_feddiff13_1 "Other Couples"	
twoway (line white_feddiff13_1 year if obs== 1, lcolor(gs10)) (line raceblk_feddiff13_1 year if obs==1, lcolor(black)) (line raceoth_feddiff13_1 year if obs==1, lcolor(black) lpattern(longdash_dot)), ytitle("Penalty/Subsidy") xtitle("Year") graphregion(fcolor(white)) legend(size(small)) name(nm_fed_race3_est_marr, replace)
graph save "figures\nm_fed_race3_est_marr.gph", replace		
graph export "figures\nm_fed_race3_est_marr.pdf", replace


label var black_feddiff11_1 "Difference"
label var ub5bl_feddiff11_1 "95% UB"
label var lb5bl_feddiff11_1 "95% LB" 
twoway (line black_feddiff11_1 year if obs==1, lcolor(black)) (line ub5bl_feddiff11_1 year if obs==1,lcolor(black) lpattern(dot)) (line lb5bl_feddiff11_1 year if obs==1,lcolor(black) lpattern(dot)), ytitle("Estimated Difference") xtitle("Year") graphregion(fcolor(white)) legend(size(small)) name(nm_fed_estbl_diff1_marr, replace)
graph save "figures\nm_fed_estbl_diff1_marr.gph", replace		
graph export "figures\nm_fed_estbl_diff1_marr.pdf", replace

label var other_feddiff11_1 "Difference"
label var ub5ot_feddiff11_1 "95% UB"
label var lb5ot_feddiff11_1 "95% LB"	
twoway (line other_feddiff11_1 year if obs==1, lcolor(black)) (line ub5ot_feddiff11_1 year if obs==1,lcolor(black) lpattern(dot)) (line lb5ot_feddiff11_1 year if obs==1,lcolor(black) lpattern(dot)), ytitle("Estimated Difference") xtitle("Year") graphregion(fcolor(white)) legend(size(small)) name(nm_fed_estot_diff1_marr, replace)
graph save "figures\nm_fed_estot_diff1_marr.gph", replace		
graph export "figures\nm_fed_estot_diff1_marr.pdf", replace	


label var black_feddiff12_1 "Difference"
label var ub5bl_feddiff12_1 "95% UB"
label var lb5bl_feddiff12_1 "95% LB"
twoway (line black_feddiff12_1 year if obs==1, lcolor(black)) (line ub5bl_feddiff12_1 year if obs==1,lcolor(black) lpattern(dot)) (line lb5bl_feddiff12_1 year if obs==1,lcolor(black) lpattern(dot)), ytitle("Estimated Difference") xtitle("Year") graphregion(fcolor(white)) legend(size(small))	name(nm_fed_estbl_diff2_marr, replace)
graph save "figures\nm_fed_estbl_diff2_marr.gph", replace		
graph export "figures\nm_fed_estbl_diff2_marr.pdf", replace


label var other_feddiff12_1 "Difference"
label var ub5ot_feddiff12_1 "95% UB"
label var lb5ot_feddiff12_1 "95% LB"	
twoway (line other_feddiff12_1 year if obs==1, lcolor(black)) (line ub5ot_feddiff12_1 year if obs==1,lcolor(black) lpattern(dot)) (line lb5ot_feddiff12_1 year if obs==1,lcolor(black) lpattern(dot)), ytitle("Estimated Difference") xtitle("Year") graphregion(fcolor(white)) legend(size(small)) name(nm_fed_estot_diff2_marr, replace)
graph save "figures\nm_fed_estot_diff2_marr.gph", replace		
graph export "figures\nm_fed_estot_diff2_marr.pdf", replace


label var black_feddiff13_1 "Difference"
label var ub5bl_feddiff13_1 "95% UB"
label var lb5bl_feddiff13_1 "95% LB"
twoway (line black_feddiff13_1 year if obs==1, lcolor(black)) (line ub5bl_feddiff13_1 year if obs==1,lcolor(black) lpattern(dot)) (line lb5bl_feddiff13_1 year if obs==1,lcolor(black) lpattern(dot)), ytitle("Estimated Difference") xtitle("Year") graphregion(fcolor(white)) legend(size(small))	name(nm_fed_estbl_diff3_marr, replace)
graph save "figures\nm_fed_estbl_diff3_marr.gph", replace		
graph export "figures\nm_fed_estbl_diff3_marr.pdf", replace
	
	
label var other_feddiff13_1 "Difference"
label var ub5ot_feddiff13_1 "95% UB"
label var lb5ot_feddiff13_1 "95% LB"	
twoway (line other_feddiff13_1 year if obs==1, lcolor(black)) (line ub5ot_feddiff13_1 year if obs==1,lcolor(black) lpattern(dot)) (line lb5ot_feddiff13_1 year if obs==1,lcolor(black) lpattern(dot)), ytitle("Estimated Difference") xtitle("Year") graphregion(fcolor(white))	legend(size(small)) name(nm_fed_estot_diff3_marr, replace)
graph save "figures\nm_fed_estot_diff3_marr.gph", replace		
graph export "figures\nm_fed_estot_diff3_marr.pdf", replace
